package com.zhyl.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yang3
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TheEnd {
    private Integer id;
    /**
     * 问诊id
     */
    private Integer consultationId;
    /**
     * 药方单id
     */
    private Integer prescriptionId;
    /**
     * 预约id
     */
    private Integer appointmentId;
    /**
     * 医生id
     */
    private Integer doctorId;
    /**
     * 病人id
     */
    private Integer patientId;
    /**
     * 是否需要住院
     */
    private int needHospital;
    /**
     * 如果住院则对应住院表id
     */
    private int hospitalId;
    /**
     * 是否完成
     */
    private String isDone;
    /**
     * 相差费用
     */
    private Double havePay;
    /**
     * 是否需要化验
     */
    private Boolean needHuayan;
    /**
     * 对应化验id
     */
    private int huayanId;

    private Consultation consultation;
    private Prescription prescription;
    private Appointment appointment;
    private Doctor doctor;
    private Patient patient;
}
